silenced a compiler warning regarding null pointer dereferencing