implement the NULLDUMMY check