allow unshorten external url + clean code
clean code