fix bug when two same job has different triggers