fixed margins for queries