small error in setting members