bug fixes in the electrolyte subsystem.