Fix bug in speed chart