fix appconfig, closed #8