improving trigger queue speed