registration controller fixed