fixing slicer bugs.