correcting set working directory