fixed typo in CustomEvent