Fix bugs of the framework
Merge pull request #3 from foundb/basic-framework

Fix bugs of the framework