fix slicing typo