phog() cleanup