add env variable fix so that bazaar works