generator: corrected final orientation, indentations