fixed the sell method