typo in chdir