Fixed print to output.