fixing broken lookup table