fix trigger manage