Clear Function in Cocos Creator

I made a paint game, in which I used the clear function to clear all stroke lines on that node.
but after that, if I try to add more strokes the deleted stroke comes again on that node
and it overlaps with new strokes. how I can delete the strokes

Can you show an example of your situation? can you share a project where you can emulate the problem? What version of cocos creator are you using?

thank you for your help but the bug is fixed known