fixed api changes
Merge pull request #69 from altitudelabs/hotfix-api-changes

fixed api changes