try normalize_attributes instead?