Fix passing event to emit
0.8.5