[bugfix] Use CustomEvent instead of Event