Making the base dao's null proof.