cleanup
rethrow exception