fix Java search