[bugfix] init is called twice when an object is instantiated from a grandchild class of CoreObject
[refactor] remove unnecessary code, use proper variable name
Merge pull request #10 from Chun-Yang/master

[bugfix]  init is called twice