fix typos reported at http://www.cocos2d-x.org/forums/6/topics/42082?r=42179#message-42179