stopAllEffects() also stopping background music cocos2d-x v 2.2.2

Whenever I make a call to this function to stop sound effects,
CocosDenshion::SimpleAudioEngine::sharedEngine()->stopAllEffects();

the background music also stops. Anyone else had this problem ? Any fixes?

Are you sure your music background play with loop parameter == true ?

yes I am sure