minor bug fix

fix template minor bugs
add cocos framework to current folder