Fix setlinks