Fixed a small bug (trigger)