fix process chdir