tweak queries