fix jump that can single and double jump.