Fixed console error output.