fix link.sh