basic adapter cleanup