change member variable from reference to plain