Fix compound attributes