fix network query bug