fixed single item bug -- would throw error if only one item in order