Ok, I've made a few changes and it works!

Learned something new again, thanks for the lesson! ;-)