yet another fix for StackConfig.cs.