fix bug that lets user enter quantities less than 1