Fixed next-slice function name