fix empty url