solving problems on timer interval reset