App: Bugfix trimspaces so it actually works