duplicate event fix