changes for class field variable's problem