fixed resetTime bug in tbragg