can not input empty string && for -> foreach when displaying addable list