checkBeforeAddEvent