Fix for link domain detection