fix time turnoff