invalid urls fix