fix loading grid on non CORS pages