query with wrong vars