fix image for mode element.