fixed error - were not outputting MS at end of avg output