more tweak for redirect