register form bug fixed