Fixed bug with output.