fix query typo