fixed selectAllUsers bug