Fix slice mistake