Fixed table.keyPath error