Fix speed limit generation