fix to userQuery