The usual suspect here is you didn't thread the cable through the shifter properly or the shifter wasn't shifted to the right position prior to installing the cable. I would start over and remove the cable and re-install it. The common mistake is not shifting to the most relaxed wire position, ie the highest gear prior to threading the cable.