with site-inspector 0.1.2, simplify code