fix set dir