fix trigger support.