fix: cyclic charge program. (not tested)