fix TypeError on bus_emit