time formating fix