Obstacle destructor added