bug fixes
Merge pull request #434 from CalvinFernandez/hotfix

Quantity fix and edit patch