Fix indentation, trailing spaces

- [x] Fix mixed tabs and spaces
- [x] Remove trailing spaces