Fix default function for url.