cleanup the sample tool