fixed slice declaration