fixing gripper collision checking