fix issues after update markdown engine