fix trigger method