fixed bug related to add event