fix bug on undo/redo
fix bug on speed info update