fix bug of image and markdown error