cleanup generator