Trying to fix time problem