fixing PWD under the case of CD again