Removing excess text