Fixed the 'triggerOnly' statement