better link parser