Fix pricing issue

fixes #28
Merge pull request #17 from ryandang/issue28

Fix pricing issue