check dispatchEvent return value
version++