wasn't emitting correctly before, some other bugs
version