fix file reference view bug