created tuner and fixed eof on tls_common