prevent auto-complete list from getting too long