use renamed mask.setCompoIndex