fix 1 quantity bug