truncate application location text