when the jump method crashes the game