fix time for redirect