speedometer bugfix