fixed missing double newline from reduce output