error messages for load_attributes