checking workdir