prevent duplicate event regd.