fixed query typo