add back the residual entropy