bugfix: failed to use the query condition.