fix summ null error