fix link-rc.sh