delete old queries