I am stuck in my rules and do not understand where I am going wrong

From the page :
https://www.letscontrolit.com/wiki/inde ... ith_events
I have copied the full script and started to modify it a little.
Now the issue I am facing that I can start the event, but can not stop it #$%#$%@$#
I can start it with:
http://192.168.1.19/control?cmd=event,vuurtorenaan
But stop does not work:
http://192.168.1.19/control?cmd=event,vuurtorenuit
As you can see I have put an LED on GPIO 13. The led goes on and off per url request to go on and off. So the even on/off works.
I guess the issue is in the "timerSet,1,0" on the stop event. But as you can see the code is copied from the example page.......
Please advise or hint me in the correct direction ?
Goal :
To be able with a URL into ESP_EASY to start and stop a PWM slow on and off signal simulation a lighthouse light.
Many thanks for your time/help
Frank
-------------------------------
This is my rules code :
//start the warning signal when we receive a start_warning event:
On vuurtorenaan do
timerSet,1,1
gpio,13,1
endon
//stop the warning signal when we receive a stop_warning event:
On vuurtorenuit do
timerSet,1,0
gpio,13,0
endon
//create an actual warning signal, every time timer 1 expires:
On Rules#Timer=1 do
//repeat after 2 seconds
timerSet,1,0.5
//pulse some led on pin 4 shortly
PWM,13,1024,1000
gpio,16,1
//Pulse,14,1,500
//produce a short 1000hz beep via a piezo element on pin 14
PWM,13,0,1000
gpio,16,0
endon
---------------------------------