fix multiple case search when it is long