fixing error in metadata