Fixed trailing whitespace and newlines