Spuratic sputter along with speedo going crazy

Having an issue with my 800. After about the first 5 min of a ride, i see the speedo jumping and dropping, just going crazy, then followed by sputtering for a bit. Once it is all hot then these isues seem to go away. What can be the cause of this. I did tighten the battery terrminals which were a bit lose but no cure.