fixed bug with time freezing in seconds mode