Thank you for the hint jcl, I set the stop before the entry logic and it works fine. I don't know why this happens.