fixing running speed error