register form fixes