fix file viewer