turns out attributes declared on class behave like singletons
fixes #3 adding error class name to the error message