fix random jump bug