fixed aziavg problem