fix view file pane null ref