fix mdash problem