clean up after fail