start moving meta handling into normal page handling