register user fix