fixing issue with interval reset time