Fix multiple quantity problem

Signed-off-by: claire921 <claire921@gmail.com>