fixed error in create user with profile