I need help with an 'easy' geo-node setup

I'm trying to align instances of an animated bug along the tangent of the path where they're being instanced. I've seen this setup in some tutorials and it seems pretty straightforward, but I'm using Blender 4.3 and I can't get it to work. The nodes create the instances, but they all keep their original rotation. I've even tried with simple shapes, and they don't seem to align either. Is there any way to fix this?