fixed class member problem