fix     uninitialized constant AppConfig