remove old queries