fix image token bug