got rid of horrible spacing on query page