fix mem for bg and start events section