fixed failed null check on slicer