cleanup following paper