fixes in register form