sanitize URL input and rm log.fatal errors
replace laddr variable with nil