changed how trigger was firing on controller