fixed average problem