fixed documet issues