add popback to destructor