chdir to workdir