shared ptr removed