fix indentation bug for generated files