error property refactored