simplify slice