add namespaces to events