Register form fixes