fix events add duplicate
fixed events added for duplicate