Process working directory fix