fixing string search for website with compression on