fix null object access

TODO:
problem of null instance of XML startup config still exists