slice bug corrected