fixed a bug that remove query after download result.