Minor changes in lookup
bugfix