fix bug about searching users by id list