needed further fix for class_attribute inheritance