changed query threshold