restored allowed_hosts