bugfix: persist comp_type attribute on compensations