fixes the api
Merge pull request #94 from way2muchnoise/1.7-update

fixes the api