Improving the ability to detect comprehension problems: from revising to writing