fix empty url & long names
remove debug