dark stage fix, offline fix
Replace 'sum' property with get_sum() method