null safe config