fixed set_workdir