bug: shorten only if link is too long