AppConfig.js bug fix part 1