Fix the instant is -1 problem.