consistent setting variable, add RB tab weight, prevent adding same resource more than once