cleanup of lookup tables