register redirect fix