Fix namespace emit not sending out event, but only data