index: remove slice declaration