fix import in groovy-based network query code