moved DEFAULT_EMIT setting