Fixing average speed