remove purchase code stuff