limit length of links