move meta data back to _pages