Fixed issue with lookups method