remove powerline fonts and trailing spaces