How to avoid offset of Follow Path constraints?

Even tho i placed the empty at the location of the path before i add a Follow Path, i get this strange offset if the Path is not at center. Can somone help?

a = bpy.context.scene.objects.active = bpy.data.objects[‘BezierCurve’]
bpy.ops.object.empty_add(type=‘PLAIN_AXES’, location=(a.location))
bpy.ops.object.constraint_add(type=‘FOLLOW_PATH’)
bpy.data.objects[name].constraints[“Follow Path”].target = bpy.data.objects[“BezierCurve.001”]
bpy.data.objects[name].constraints[“Follow Path”].use_fixed_location = True

Place empty at location 0,0,0

That helped, thx.