finally fix json search