refactored PA-TNC attribute error handling