fixed the cluster execution mode for examples