how the gusset length calculated?

I have an issue in chord and branch connection.

in the calculation of the gusset compression strength the gusset length was wrongly assigned in the (Kl/r) equation which affect the strength value.

in the calculation
K*L/r>25>>>1.2*473.6[mm]/2.887[mm]>25>>>True

however the L value should be 150mm