made function qty increment, fixes dioscouri/amritasingh-f3#108