fixed one bug for the beam-dino collision case.