we need to slice from index 1 to ignore Event object parameter to dispatchEvent