fix markdown list numbering problems