fix up appconfig