Fixes /queries