truncate the url to make readable