refactor task page