fixing timestamp formatting