limit added to queries