spawned enemies not following player

there is a button in my game that instantiates an enemy prefab. the player in the enemy AI script is also a prefab but there is a copy of the prefab in my scene. I have tested and the enemy worked fine but when I turned it into a prefab and set the player in the AI to the player prefab the enemies just all bunch together in the middle of the map. does anyone know what I might be doing wrong?

You can just find the player at start in enemy script