html cleanup on mtm