fix comp_op and transform attribute handling