fix errata
Fixed:
- 2 spaces => 4 spaces
- exceptions
- is null