fix after registration redirect