query updated for a typo