fixed jumping bug