fix wrong loading of TLS devices