bug fix on duplicate events