thanks for all the help.it turned out to be water or corrosion at crank sensor that was stopping it revving above 4000 revs,I had a similar problem last year and changed the sensor it threw me the corrosion at the three yellow wire BOX at the regulator when I sprayed it cleared it.