fix problem of re-create a TFRoleBase object