Fix speed check