fixed slice return type