remove the slice