infinite loop #2 

- Indent code
- Fix infinite loop in GetSection function