How to fix artifacts in lumen shadows?

It got fixed when I switched to Shadow maps instead of VSM, does anyone have a solid fix so that I can still use VSM?