fix for googlebot InvalidCrossOriginRequest