support for cleanPages extension