remove usage old trigger code