fix remaining avg