chdir() in devast new