minor updates to active query