refactor page task