attempt to fix markdown parsing