California looks to prevent election chaos.