fixes showallpolls to use stdout