fixed Slice so that it works in v3 again