buf current dir