fixed the problem that doesn't save the triggers whose status is OK.