remove global var coreApp