list handling when only one item is there