Corrected sum error