I lost a couple of hours solving it.
Thanks for the tip. It works.