* Fixed bug where errors would not output correctly