Url method fix