fix metadata injector
Merge pull request #799 from LipuFei/fix_metadata_next

Fix metadata injector