fixed 3.0 & 3.1 api
Merge pull request #3 from beckheng/develop

fixed 3.0 & 3.1 api