How to get rid of the small dot in neon path without closing the mask?

logicalcreativity97 Posts: 9 Just Starting Out*

The small dot is only visible when the mask is not closed. I want to animate a line with neon path which does not require to close the mask. I tried putting set-matte effect to hide the dot and it works, but I want to know if there are any other solutions to fix this.