fix linked mode spans