remove all internal data