number of active triggers #15 fixed