fixed minute counter bug