fix timestamp to ms