[TASK] fix whitespaces in generated code