remove useless variable in speed planner