fixed buying two diffent quantities issue