removed rogue print statement
Quick fix for error classes and a scope problem.