Fix trajectory bugs in arms.