removed all trailing whitespaces