remove trailing spaces in document

removed trailing whitespaces