fixed example query