Fix bug that value from old slice reused