fix md blocks