don't chdir so much, please