fixed location code bug in lookup