fix nearbysearch bug
close debug mode