fixed metadata parser