fix out query for pitches