Removes trailling whitespaces