remove TLS stuff