fix a bug which took wrong arguments for bubble up emiting