fix bug of contact on the root link