avoid overflow of ridiculously long search keywords