fix h4 html tag not being correctly closed
fixing reducing step going reverse