Fixing dumb selling bug