passing stash/heap ids to pages