removes extra content and coments