fixed complete sale bug