fixed null-reference when using --maxspeed