refactor action pages