fixed queries.