Fix issue with empty url input