Weird speedometer issues

I remember clocking the housing when I built the trans using the info in the factory service manual. I no longer remember what color/number of teeth are on the gear though. I'll check the cable routing, I might have repositioned it when I installed the cable for the shifter.
I'll also try to clean and lube the cable.
I would just go ahead and buy a replacement cable, but reading through a lot of threads and online reviews saying that the cables listed to fit our cars are incorrect.