fix proc var naming