fixed queries for sulley