can't read "stateTable(Copy of the Registered Original)": no such element in array