Fix register redirect