fix index out of bounds error happening with specific URLs detected by the site monitor