fix file chooser