change slice represenation