[IMP]: improve document viewer