fix sequence slicing of items