fix avg speed