Context action service not replacing jump function

Hey so I have a custom jump binded to a function and I use context action service to replace the default jump.

However when I FIRST join a game I noticed that it makes you jump when you join which I found odd. My jump function works fine however if you start holding space when you first join (after it makes you automatically jump) the default jump function starts working again which is really odd. Any solutions?

I solved it by disabling the default jump with

humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false)