fix missing headers params in connect funcs