fixed avg

made it actually an avg.