double counting in collision detection fixed