fix for empty line appearing in charge cycles