fixed open-file dialog