fixed sum_name exception bug