fix 404 after registration