fixed metadata output