Fix trigger statement in router