clean up average velocity