fixed dart removal bug