small bug of lookup table