some bug fix and jump method