Fixed a tiny bug in StackConfig.cs.