fix bug in searchUser