correct typos in CakeEvent class