Fix partial lookup error