fix #2 support appConfig