target should now be given to the selected entity, only it doesn't