add page title and frame title checks