Check the clutch switch on the left clip-on. Sometimes the ECU will not allow the bike to rev above 6000-8000 rpm if it thinks the clutch lever is still pulled in. It's a safety feature. The switch must function properly to tell the computer that the lever has been released. Just something to check.