genelist if not null check