fix image bug on the chat message