do not allow buying more items than are stocked nor zero items
fix bad allocation in add_starbase