disable useless queries