bugfix to member restore