Remove tailing whitespaces.