to cope with None