FIX: bug with get_url