added a cancel for collision