Removed unused tls variable