Fixed variable names in delocalize_url