[pts-core] Fixed incorrect variable names.