fixed the collision test example