quantity fix