Minor fixes.
- Wrong config being read.
- Uninitialized variable.