AI Shooting continuously once spotting the player

So My AI Starts by roaming around, when it spots the player it starts shooting at it.

At this point, all is normal, but after it spots the player and I decide to evade its sight, It is still shooting at the last direction it saw the player. How can I fix this issue?

This is my Behavior Tree

This is my perception from the AI BP

This is the AI Spotting the player’s BP