Fixed generate_static_request.