change header to metadata