remove the useless content.