fixed metadata stuff