add namespace to events