fix extension and delete uneeded paragraf