change format in average