put metadata back