fixes milliseconds