refining working dir output