Transfering arrow motion data to an entity

so i am trying to make a custom bow enchant that will shoot chickens instead of arrow, this is what i have in the function that coresponds to projectile_spawned effect in the enchantment file:

summon chicken ~ ~ ~ {Tags:["target"]}
data modify entity @e[tag=target,limit=1] Motion[0] set from entity @s Motion[0]
data modify entity @e[tag=target,limit=1] Motion[1] set from entity @s Motion[1]
data modify entity @e[tag=target,limit=1] Motion[2] set from entity @s Motion[2]
tag @e[tag=target] remove target
kill @s```
It actally tellraws the `@s` as the just shot arrow but it cannot transfer the nbt data and i just get the error in the screenshot (i tested it using commandblocks and got the same error), please help
Continue to help post