fix npe on missing config content