remove unnecessary private variable that can be addressed directly.