refix bug redirect