bug: typos in queries