Fixed Error reporting #2