fix a bug in displaying .md