register form bugfix