fix case search