fix some paging bugs
heap can allocate more than 4k