disable sql queries