fixed error in tex
changes 1 from gather to reduce