tagNetwork doesn't work well; js gets stuck