adding relative link check function to the link parser