miniPage refactor complete