fix a bug where no user can be created