bug in collision