fix metadata depends error