fix wrong api call
Merge pull request #65 from wgerlach/master

fix wrong api call