fixed trim() bug i app class