fix assureEmit
getting closer