* fixed bug where selling 0 would sell everything