cleanup, support for PPT mode