Fix bug: undefined in table