Old tstat had w from transformer wired to w and y from transformer wired to r rc per this schematic. Its hard to tell about your c y issue without a wiring diagram. Trying to wire up a wifi tstat with a c wire.