removed querydelay static value.