Bug fix: getTable API