• real fix a segfault on emit error