Is there a problem with the cable?
Check the cog at the end of the cable where it enters the gearbox, is it the correct cog? (might be colour coded).
Have the wheels been changed, that will throw out the speedo if sizes are changed.