fixed working dir loading from JSon