fix small bug with link validator