fixes timer reset bug