added exceptions for pages without metadata