I found the solution
https://answers.unrealengine.com/questions/4912/bug-spawned-actor-works-differently-from-the-bluep.html