Hmm,
actually jumping has a ground checker so when the player goes on ledge so ground checker can't detect the ground. Next time we will improve this.
Thanks for your great feedback.