console and exportmanager might be null