add namespace on events