fix buy of unremoved code