small change to query syntax