reset also internal data