Changing error message issue so that bugs in reporting errors doesn't effect code