fixing documents