Minor corrections

- renamed settings
- corrected a not-initialized variable