How to avoid Beam instance distortion?

Before:
before

After getting rotated or different position angle:
image

Idk what to do, i don’t have any idea to solve that problem, i’m trying to make ground slash VFX.