Fixed issue with milliseconds