added try-catch to csv back destructor