Fix url function

Duplicated and wrongly colorized.