fixed that stupid routing thing w queries