Fixed broken lookup tables.