gets rid of the reformatting of time