fix double configure problem and add maxspeed
changes not sure..