fix queryUsers