Remove tailing spaces.