fixing attempt to show metadata on pages without