fix mutableCopy in VariablesContainer