fix lookup error case