use subdir work as workdir