Remove dispose of static event. Make sure batch Id is always >= 0