modify sample site
handle json parse error