fix bug in make sale