final html cleanup