[fix] Create the spark only when the `open` event is fired
[codestyle] OCD