Fixed layout of Gquery.