fix md bug