safe set dictionary