AppConfig.js bug fix part 2