fix open file dialog