fix up sum and sentence embedding