fix file directory dialog