better todo on exit ...