metadata input stream end