fix some indentation edge cases