fix dispatchEvent now dispatch from elem