fixed a bug in user search