added trivial destructor to client