fixed up working directory