bug fix in voltage_control