metadata fixed bug