fix image and code block