fix markdown engine