fixed user register error