fix original url
logging
use host, not hostname
remove logging