fixed initQty in stacksController to return more accurately