fixed pageMeta call and resource pointer