You own a Yamaha, if you have done anything to the exhaust its the AIS canister on the left front of the engine that is causing the backfire
Either remove it or block it off
http://650ccnd.com/ais.htm