some leftover get_attr/set_attr call conversions