fix issue with null pointers when Get'ing something which isn't set