[fix] fixed validation when register an user

oh, never mind.