Fixes time error.