more null protection assertions