fix snipped edit mapping