cleanup after exception; v0.1.2