Fixed an error with the output.