fix variable name rx_sum