fix motion number bug