fix metadata issue