Model: fix appconfig issue