Isssue adding a background image on cocos2d-x Android

Hello,

I am trying to add an image background this way:

@ background = CCSprite.sprite(“filename.png”);
background.setAnchorPoint(CGPoint.ccp(0.5f,0.0f));
background.setPosition(width/2, background.getContentSize().height);
layer.backgroundLayer.addChild(background);@

The problem is that the added background is weird and some parts are stretched. Please I need help how to add background properly. Thanks in advance.