registration redirect fix