better to check this at startup and throw fatal error about null config