fixed issue with single event fired on both leading and trailing edge
version update