hopefully fixed pagemap now