handle null where list is expected