prevent against potential null pointer