fix negative_timer issue