fix constant lookup error