Fixed NullReferenceException in LinkBuilder