fix bug in slicing of sparse