fix documents