Better error message in #Lookup