query tweaks from last session