fixed a double jump bug