fix motion example