fixed cd/dir and pwd