remove spaces at end of lines
re-gen