fix image bug