fixed error in adding new member