fix warning when add a new member