fix on pylookup