fix average indicator