fix the make sale bugs