fix image message bug.