Fixing slicing.