set limit for event constant