fix bazaar main directory usage