force qty to be initger and prevent zero or negative qty
minor formating changes