added a function to fix times that are over 24:00hrs