Removed a lot of cocos2d errors