update the converter to fix improper markups