Fixed connection issue with variable name