fix attachment in pinch method