Bug fix in triggerfrequency