document correction