clean generated code for record constructor