changed ee.emit variable