fix time formating