fixed AddEvent bug and added other category