unify variable names in appspace.