Fix error in pwd. with cd