minor optimization for single element list.