fixing unintentional leaky inheritance by making more copies