repair time objects

time object were invalid when seconds > 60