mod getPage to computed function