fixed deleteBoundary on multiple labels