fix multi-level namespace on trigger