fixed distinguishing between colliding object