Chdir bug fix and big string try to fix