Fixes to slice method