fixed metadata order