Fixed a bug for getting users.