Shadow Remains on Object

Hi guys
fairly new to ue5 here
trying to make a small game came into a problem that when ever i shoot the gun the intensity of point light inside the barrel will increase but weirdly enough the shadows remain on objects if i move the gun away
Any help?