removed bug where duplicated event got registered