Fixed exception in Lookup