persist meta data after clean up