Changed call to undefined variable (\$con)