fix indentation of generated code