fix issue with startup without tls specified