removed trailing whitespace at the end of lines