sorted a problem with AppConfig.h