fixed #37 better error message for invalid attribute definition