update generator to 4 spaces indent + detab the rest