Fixed issue with registering app with config_setup