fix a small bug that could stop the check link process.