first chdir binding