fix round 2 to rearrange links functionality