treatments to url inside references